<template>
  <!-- 办理退租页面 -->
  <div class="subject">
    <!-- 头部预留 -->
    <header>
      <div class="return" @click="returns">
        <i class="iconfont icon-zuojiantou"></i>
      </div>
      <div class="title">办理退租</div>
    </header>
    <div class="zhufang">
      <p>当前住房</p>
    </div>
    <main>
      <div class="contents" v-for="(item, index) in dataList.list"
          :key="index">
        <div>
          <img :src="item.imgSrc" alt="" />
        </div>
        <div
          class="contents1"
        
        >
          <ul>
            <li>{{ item.region }}</li>
            <li>{{ item.type }}</li>
            <li>{{ item.advantage }}</li>
          </ul>
          <div class="contents1_1">
            <div>{{ item.rent }}</div>
            <span>{{ item.money }}</span>
          </div>
        </div>
      </div>
<div class="buttons">
      <van-cell title="姓名" is-link   style=' border-top-left-radius:5px ; border-top-right-radius:5px'/>
  <van-cell title="入职时间" is-link  />
  <van-cell title="身份证件" is-link  />
  <van-cell title="手机号" is-link    style=' border-bottom-right-radius:5px ; border-bottom-left-radius:5px  ' />
</div>
     
      <van-button type="success" color="red">登记成功</van-button>
    </main>

    <footer></footer>
  </div>
</template>

<script>

export default {
  data() {
    
    return {
     
      value: "",
      dataList: {
        list: [
          {
             imgSrc: '',
            region: "北京香格里拉",
            type: "1室1厅",
            advantage: "距离地铁站1米",
            rent: "整租",
            money: "2000元/月",
            // name: "租客",
            // phone: "1101321",
            // region: "北京",
          },
        ],
      },
    };
  },
     methods:{
  //跳转
     returns(){
         this.$router.push('/my')
     }
  }
};
</script>

<style lang="less" scoped>
.subject {
  background-color: #ededed;
  height: 1334px;
    header {
    width: 100%;
    height: 88px;
    background-color: #ff5654;
    display: flex;
    .return {
      margin-left: 20px;
      i {
        color: #fff;
        font-size: 34px;
        line-height: 88px;
      }
    }
    .title {
      padding: 0 256px;
      color: #fff;
      font-size: 36px;
      line-height: 88px;
    }
  }
  .zhufang {
    font-size: 30px;
    background-color: #fff;
    height: 80px;
    line-height: 80px;
    text-indent: 1em;
    p {
      margin: 0;
    }
  }
  main {
    margin-top: 20px;
    .contents {
      background-color: #fff;
      display: flex;

      padding: 25px 15px 15px 35px;
      margin: 0 20px;
      border-radius: 7px;

      img {
        width: 290px;
        height: 198px;
      }
      .contents1 {
        li:nth-child(1) {
          font-size: 20px;
          margin-top: 20px;
        }
        li:nth-child(2) {
          font-size: 18px;
          margin-top: 10px;
        }
        li:nth-child(3) {
          font-size: 17px;
          margin-top: 8px;
          opacity: 0.8;
        }

        margin-left: 20px;
        .contents1_1 {
          margin-top: 36px;
          display: flex;
          font-size: 13px;
          div {
            font-size: 10px;
            color: #618698;
            text-align: center;
            width: 70px;
            height: 30px;
            border: 1px solid #618698;
            line-height: 30px;
            border-radius: 5px;
          }
          span {
            color: #ff5555;
            margin-left: 100px;
            font-size: 25px;
          }
        }
      }
    }
 .buttons{
    padding: 20px 20px 0 20px;
   .van-cell--clickable{
   border:1px solid #f1f1f1 ;
 }
 }

  
 
    .van-button--success {
      width: 458px;
      margin-top: 80px;
      margin-left: 150px;
      border-radius: 10px;
      height: 65px;
    }
  }
}
</style>
